package cn.javass.dp.decorator.mydemo1;

public class ConcreateDecoratorA  extends Decorator{

    public ConcreateDecoratorA(Component component) {
        super(component);
    }

    private String addedState() {
        System.out.println("我是A");
        return null;
    }

    @Override
    public void operation() {
        addedState();
    }


}
